<h1>Регистрация</h1>
<form action="{Request::url($url, 'action=register')}" method="post">
	{if isset($error)}<div class="error">{$error}</div>{/if}
	<div class="row">
		<label>Логин: <input type="text" name="user[login]" value="{$user->login}" /></label>
	</div>
	<div class="row">
		<label>Пароль: <input type="password" name="user[password]" value="" /></label>
	</div>
	<div class="row">
		<label>Повторить пароль: <input type="password" name="user[repassword]" value="" /></label>
	</div>
	<div class="row">
		<label>Email: <input type="text" name="user[email]" value="{$user->email}" /></label>
	</div>
	<div class="row">
		<img src="{Config::get('relative_url')}captcha.php" alt="captcha" />
	</div>
	<div class="row">
		<input type="submit" value="Зарегистрироваться" name="register" />
	</div>
</form>